<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<%@ include file="../include/include.jsp"%>
<title>免费发布求购信息_麦麦车二手车网络超市</title>
<meta name="description" content="麦麦车二手车求购频道是厦门最专业、最可靠的二手车求购信息发布平台，免费发布您要购买的二手车信息。" />
<meta name="Keywords" content="厦门买二手车,厦门二手车求购,厦门求购二手车,厦门二手车买卖,厦门二手车求购信息发布" />
<link rel="stylesheet" type="text/css" href="${cssPath}/resources/css/buy-index.css">
<link rel="stylesheet" href="${cssPath}/resources/js/validationEngine/css/validationEngine.jquery.css" type="text/css"/>
<link rel="stylesheet" href="${cssPath}/resources/js/validationEngine/css/template.css" type="text/css"/>
</head>
<body>
	<%@ include file="../include/head.jsp"%>
	<!--#cnt 中间的内容-->
	<div id="cnt">
		<div class="cnt-wrap">
			<div class="left-cnt f-fl">
				<!--path-wrap 面包屑-->
				<div class="path-wrap">
					<div class="path">
						<span>当前位置：</span>
						<a href="${contextPath}">二手车网络超市</a>
						<span>&gt;</span>
						<span>二手车求购<span>
					</div>
				</div>
				<!--path-wrap end-->
				<!-- step-bg 步骤指引-->
				<div class="step-bg">
					<span class="step1 f-fl">填写求购信息</span>
					<span class="step2 f-fl">完成</span>
				</div>
				<!-- step-bg end-->
				<!-- fm-wrap 车辆信息表单-->
				<div class="fm-wrap">
					<form id="evalauteForm" action="${contextPath}/buy/save.html" method="post">
						<input type="hidden" name="token" value="${token}"> 
						<div class="fm-hd-wrap">
							<span class="fm-hd mmche-icon f-ib">
								填写二手车求购意向
							</span>
						</div>
						<ul class="fm-list">
							<li>
								<span class="fm-label f-fl">
									<span class="red-star">*</span>
									求购意向：
								</span>
								<input type="text" name="intention" class="fm-text intent f-fl validate[required]" size=40 value=""/>
								<div class="f-clear"></div>
							</li>
							<li>
								<span class="fm-label f-fl">
									<span class="red-star">*</span>
									意向价格：
								</span>
								<div class="text-wrap f-fl text-wrap1">
									<span class="unit-1 f-fl">
										￥
									</span>
									<input type="text" id="start" id="expectPriceMin" name="expectPriceMin" class="fm-text f-fl validate[required,custom[number],min[0]]" />
									<div class="f-clear"></div>
								</div>
								<span class="f-fl split-line">
									—
								</span>
								<div class="text-wrap f-fl text-wrap2">
									<input type="text" name="expectPriceMax" id="expectPriceMax" class="fm-text f-fl validate[required,custom[number],min[0]]" />
									<span class="unit-2 f-fl">
										万元
									</span>
									<div class="f-clear"></div>
								</div>
								<div class="f-clear"></div>
							</li>
							<li>
								<span class="fm-label f-fl">
									意向品牌：
								</span>
								<select class="fm-select f-fl" name="brandId" id="brand">
									<option value="" selected>请选择品牌</option>
									<c:forEach var="brand" items="${brands}">
										<option value="${brand.enname}"}>${brand.firstLetter} ${brand.name}</option>
									</c:forEach>
								</select>
								<div class="f-clear"></div>
							</li>
							<li>
								<span class="fm-label f-fl">
									意向车系：
								</span>
								<select class="fm-select f-fl" id="series" disabled name="seriesId">
									<option value="" selected>请选择车系</option>
								</select>
								<div class="f-clear"></div>
							</li>
							<li>
								<span class="fm-label f-fl">
									车辆颜色：
								</span>
								<select class="fm-select f-fl" name="color" id="color">
									<option balue="">请选择颜色</option>
									<c:forEach var="color" items="${colors}">
					                	<option value="${color.code}" >${color.desc}</option>
					                </c:forEach>
								</select>
								<input type="text" class="fm-text hide" id="otherColor" disabled name="otherColor"/>
								<div class="f-clear"></div>
							</li>
							<li>
								<span class="fm-label f-fl">
									年限：
								</span>
								<select class="fm-select f-fl" name="limitYear">
									<option value="">请选择年限</option>
									 <c:forEach var="year" items="${years}">
					                	<option value="${year}" >${year}</option>
					                </c:forEach>
								</select>
								<div class="f-clear"></div>
							</li>
							<li>
								<span class="fm-label f-fl">
									其他要求：
								</span>
								<textarea class="fm-textarea f-fl" name="other"></textarea>
								<div class="f-clear"></div>
							</li>
						</ul>
						<div class="fm-hd-wrap">
							<span class="fm-hd mmche-icon f-ib">
								填写联系人资料
							</span>
						</div>
						<ul class="fm-list">
							<li>
								<span class="fm-label f-fl">
									<span class="red-star">*</span>
									联系人姓名：
								</span>
								<input type="text" class="fm-text f-fl text-101px validate[required]" value="" name="name" />
								<input type="radio" class="fm-radio f-fl" name="sex" value="1" checked="checked">	<span class="f-fl">男</span>
								<input type="radio" class="fm-radio f-fl" name="sex" value="2"><span class="f-fl">女</span>
								<div class="f-clear"></div>
							</li>
							<li>
								<span class="fm-label f-fl">
									<span class="red-star">*</span>
									手机号码：
								</span>
								<input type="text" name="mobile" class="fm-text f-fl validate[required,custom[mobile]]" value="" />
								<div class="f-clear"></div>
							</li>
							<li>
								<input type="submit" class="fm-submit mmche-btn" value="提交" />
							</li>
						</ul>
					</form>
				</div>
				<!-- fm-wrap end-->
			</div>
			<div class="right-cnt f-fr">
				<div class="cnt-wrap">
					<div class="cnt-hd-wrap">
						<h2>
							为什么选择麦麦车
						</h2>
					</div>
					<ul class="cnt-list why-mmche">
						<li>
							<div class="list-hd">
								<span class="list-no f-fl">
									1.
								</span>
								<h2 class="f-fl">
									解决三大问题
								</h2>
								<div class="f-clear"></div>
							</div>
							<p>传统交易市场 -- 鱼龙混杂；</p>
							<p>4S店二手车 -- 车源少，价格高；</p>
							<p>C2C中介二手车及拍卖业务 -- 车源复杂，质量不稳定。</p>
						</li>
						<li>
							<div class="list-hd">
								<span class="list-no f-fl">
									2.
								</span>
								<h2 class="f-fl">
									三大特色
								</h2>
								<div class="f-clear"></div>
							</div>
							<p>网购新渠道；质量有认证；透明一口价。</p>
						</li>
						<li>
							<div class="list-hd">
								<span class="list-no f-fl">
									3.
								</span>
								<h2 class="f-fl">
									三大特色
								</h2>
								<div class="f-clear"></div>
							</div>
							<p>独创二手车估价模型，合理定价，一口价、真不二价，麦麦车让二手车更简单！</p>
						</li>
					</ul>
				</div>
				<!--cnt-wrap end-->
			</div>
			<div class="f-clear"></div>
		</div>
	</div>
	<!--#cnt end-->
	<%@ include file="../include/foot.jsp"%>
	<script type="text/javascript" src="${jsPath}/resources/js/buy.js"></script>
	<script type="text/javascript" src="${jsPath}/resources/js/jquery/jquery-slide.js"></script>
	<script src="${jsPath}/resources/js/validationEngine/js/jquery.validationEngine.js" type="text/javascript"></script>
	<script src="${jsPath}/resources/js/validationEngine/js/languages/jquery.validationEngine-zh_CN.js" type="text/javascript"></script>	<script>
	$(document).ready(function(){
		$.validationEngineLanguage.allRules["lessThanMax"]={
			"func": function(field, rules, i, options){
               return $("#expectPriceMax").val() != "" ? ($("#expectPriceMax").val() >= field.val()) : true;
           	},
	        "alertText": "必须小于最大值"
		};
		$("#evalauteForm").validationEngine({
			promptPosition: "bottomRight:0,-5"
		});
	});
	</script>
</body>
</html>